home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl2 / answers / superfly / Makefile < prev    next >
Encoding:
Makefile  |  1996-11-11  |  1.2 KB  |  46 lines

  1. #!smake
  2. #
  3. # Copyright 1994, Silicon Graphics, Inc.
  4. #  All Rights Reserved.
  5. #
  6. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  7. # the contents of this file may not be disclosed to third parties, copied or
  8. # duplicated in any form, in whole or in part, without the prior written
  9. # permission of Silicon Graphics, Inc.
  10. #
  11. # RESTRICTED RIGHTS LEGEND:
  12. # Use, duplication or disclosure by the Government is subject to restrictions
  13. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  14. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  15. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  16. # rights reserved under the Copyright Laws of the United States.
  17. #
  18. #
  19. # Makefile for opengl 2 superfly class example code.
  20. #
  21. #    "$Revision: 1.2 $"
  22.  
  23. include    $(ROOT)/usr/include/make/commondefs
  24.  
  25. CFILES     = superfly.c flyutil.c
  26. TARGETS    = superfly
  27.  
  28. OPENGL2 ?= ../..
  29.  
  30. LLDOPTS = -L${OPENGL2}/lib
  31. LLDLIBS = -loglprog -lglut -limage -lGLU -lGL -lXmu -lX11 -lm
  32.  
  33. LCINCS = -I. -I${OPENGL2}/include
  34.  
  35. default:    $(TARGETS)
  36.  
  37. include $(COMMONRULES)
  38.  
  39. install:    default
  40.  
  41.  
  42. $(TARGETS):    ${OBJECTS}
  43.     ${CCF} ${OBJECTS} $(LDFLAGS) -o $@
  44.  
  45.  
  46.